package com.example.day02;

public class Chinese extends Human {

//    public com.example.day02.Chinese(String name, char gender, int age, double height, double weight, boolean isMarried, String zodiac) {
//        super(name, gender, age, height, weight, isMarried);
//        this.zodiac = zodiac;
//    }

    // com.example.day02.Chinese fields
    String zodiac; // 生肖

    public Chinese() {

    }

    public Chinese(String name, char gender, int age, double height, double weight, boolean isMarried) {
        super(name, gender, age, height, weight, isMarried);
    }

    // com.example.day02.Chinese methods
    void useChopsticks(){}

    public static void main(String[] args) {
        Chinese zs = new Chinese();
        System.out.println(zs instanceof Chinese);
        System.out.println(zs instanceof Human);

        Human tom = new Human()       ;
        System.out.println(tom instanceof Human);
        System.out.println(tom instanceof Chinese);
//        System.out.println(zs.name); // null
//        zs.study(1); //
    }
}
